package com.heima.schedule.service;

import com.heima.model.schedule.dto.Task;

public interface TaskService {
    Long addTask (Task task);

    Boolean cancelTask ( Long taskId);

    //消费
    Boolean pollTask();
}
